<?php 
/* SVN FILE: $Id$ */
/* Website Test cases generated on: 2011-11-18 13:20:37 : 1321602637*/
App::import('Model', 'Website');

class WebsiteTestCase extends CakeTestCase {
	var $Website = null;
	var $fixtures = array('app.website');

	function startTest() {
		$this->Website =& ClassRegistry::init('Website');
	}

	function testWebsiteInstance() {
		$this->assertTrue(is_a($this->Website, 'Website'));
	}

	function testWebsiteFind() {
		$this->Website->recursive = -1;
		$results = $this->Website->find('first');
		$this->assertTrue(!empty($results));

		$expected = array('Website' => array(
			'id'  => 1,
			'website_name'  => 'Lorem ipsum dolor sit amet',
			'domain'  => 'Lorem ipsum dolor sit amet'
		));
		$this->assertEqual($results, $expected);
	}
}
?>